Hi,
I am new to using WEXP and would like to eport OLE objects to Word documents with added captions.
I can get this to work, however, I would like the captions to be numbered including the section numbers at level 2. This should be the same as the DOORS heading level.
I had set the WEXP template which I am using to export to include the correct style captions, and made these a style within the document too. However, whenever I export it still only numbers the figures etc 1, 2, 3 regardless of their location within the document rather than 1.1-1, 2.3-1 etc.
Does anyone have any ideas as to how this is configured, or if it is hard coded within the wexp.inc.
If it is the latter can I change this easily within the WEXP code by adding the relevant field code {STYLEREF 2 \s} or just tell it to pick up the style from the template.
Presumably any function that is doing the cross referencing to the table / figure would also need to know where in the hierarchy the object sat?
Any help would be much appreciated, thanks Matt
SystemAdmin - Fri Dec 07 11:17:50 EST 2012 |
Re: DOORS WEXP Caption Numbering by levels SystemAdmin - Sat Dec 08 06:40:16 EST 2012 kabr - Fri Dec 07 15:16:50 EST 2012
I haven't tried this, but I would assume that this is configurable in Word, i.e. configure the caption styles.
Karl
You can either rely on Word to define the numbers (using styles, sequences or macros) or rely on DOORS.
In your case it might be a good idea to use the object number maintained by DOORS. So, create a view that shows the DOORS Object Number to the left of the object heading.
Additionally you can use the attribute "Paragraph Style" to later be able to create an index of the captions
HTH
BR
Mike
|